package cn.edu.scut.sys.service;

import java.util.List;

import cn.edu.scut.sys.utils.DataRequest;
import cn.edu.scut.sys.utils.DataResponse;
import cn.edu.scut.sys.vo.Unit;

public interface UnitService {

	public DataResponse<Unit> list(DataRequest request, String unitIdStr);
	
	public boolean add(Unit unit);

	public Unit get(Long id);
	
	public boolean update(Unit unit);
	
	public List<Unit> listByUnitId(Long unitId);
}